import StorageUtil from '../utils/StorageUtil';
import {Constant} from './Constant';

export default class AuthUtil {
  static async getAuthParam() {
    try {
      const token = await StorageUtil.get(Constant.token);
      return {'Authorization': token};
    } catch (e) {
      console.log(e);
      return {};
    }
  }
}
